package vip.wangwenhao.example.document;

import lombok.Data;
import org.apache.solr.client.solrj.beans.Field;
import vip.wangwenhao.annotation.Entity;

import java.io.Serializable;

/**
 *
 * solr document类
 *
 * @Entity 对应solr里dataImport的entity
 * @author wangwenhao
 *
 */
@Data
@Entity("company")
public class CompanyDocument implements Serializable {

    /**
     * ID 主键
     */
    @Field
    private String id;

    /**
     * 公司名称
     */
    @Field
    private String companyName;

    /**
     * logo
     */
    @Field
    private String logo;

    /**
     * financing
     */
    @Field
    private String financing;

    /**
     * people_num
     */
    @Field
    private String peopleNum;

    /**
     * industry
     */
    @Field
    private String industry;

    /**
     * describes
     */
    @Field
    private String describes;

    /**
     * corporation
     */
    @Field
    private String corporation;

    /**
     * capital
     */
    @Field
    private String capital;

    /**
     * register_time
     */
    @Field
    private String registerTime;

    /**
     * enterprises_type
     */
    @Field
    private String enterprisesType;

    /**
     * status
     */
    @Field
    private String status;

    /**
     * register_address
     */
    @Field
    private String registerAddress;

    /**
     * unified_credit_code
     */
    @Field
    private String unifiedCreditCode;

    /**
     * business_scope
     */
    @Field
    private String businessScope;

    /**
     * address
     */
    @Field
    private String address;


}